package com.tcenter.dao.providers;

import java.io.Serializable;
import java.util.List;

/**
 * User: Andrey Pautov
 * Date: 5/26/13
 */
public interface BaseDAO<T> {

    void save(T entity);
    void update(T entity);
    void delete(T entity);
    T getById(Integer id);
    List<T> getAll(String tableName);

}
